/*
 * Copyright (c) 2012 Universidad Antonio de Nebrija.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0
 * which accompanies this distribution, and is available at
 * http://www.apache.org/licenses/LICENSE-2.0.html
 * 
 * Contributors:
 *    Universidad Antonio de Nebrija - initial API, implementation and documentation
 */
package com.nebrija.riif.parser;

public class TypeBuilder {

	public static final Object buildType (String type, String value){
		if (type.equals("float")){
			return new Float(value);
		}
		if (type.equals("integer")){
			return new Integer(value);
		}
		return value;
	}
}
